import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入 样式公用包
import 'normalize.css'
import '@/assets/styles/common.css'
// 自定义组件
import componentJs from "@/components/library/index.js"
// 自定义指令错误图片显示
import directives from '@/directives'
const app = createApp(App)
Object.keys(directives).forEach(key => {
    app.directive(key, directives[key])
})
app
    .use(store)
    .use(router)
    .use(componentJs)
    .mount('#app')
